﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script type="text/javascript" src="/Scripts/XWRScripts.js"></script>
<script type="text/javascript">
    $(function () {
        //alert(window.location.toString().split("#")[1]);
        var followto = window.location.toString().split("#")[1];
        if ((followto != null))
            navigateTo(followto == "" ? "/Products/List/" : followto);
        else
            navigateTo("/Products/List/");
        setInterval(function () {
            refreshCartHolder();
        }, 60000);
        if (!$.cookie("itemsPerPage"))
            $.cookie("itemsPerPage", 16, {expires : 10});
    });

</script>
<article id="main">
    @*{ Html.RenderAction("List", "Products", new { page = 1, category = (string)null }); }*@
</article>